
const TEdbDidDef g_edb_did_def_table[] = {
{%- for did in did_define %}
    {.did = kEdbDid{{ did.DType }}{{ did.NameCode }}, .dlen = {{ did.DLen }}, .dtype = kEdbDataType{{ did.DType }}, .val_buff_offset = {{ did.VBOffset }}},
{%- endfor %}
};

const UInt32 g_edb_did_def_count = {{ py_edb_did_def_count }};  // sizeof(g_edb_did_def_table) / sizeof(g_edb_did_def_table[0]);

char g_edb_ram_buff[{{ py_ram_buff_size }} + {{ py_edb_did_def_count }} * sizeof(TEdbDidState)] = {0};

